package main

import "fmt"

func main() {
	var a int
	a = 100
	b := &a
	fmt.Printf("type a:%T type b:%T\n", a, b)
	//将a的16禁止内存地址打印出来
	fmt.Printf("%p\n",&a) //a的内存地址
	fmt.Printf("%p\n",b) //b的值
	fmt.Printf("%p\n",&b) //b的内存地址
}